/**<
generates random numbers in a range
 */

 #include<cstdlib>
 #include<ctime>

 // Generate a random number between nLow and nHigh (inclusive)
unsigned int GetRandomNumber(int nLow, int nHigh)
{
    srand(time(0));
    return (rand() % (nHigh - nLow + 1)) + nLow;
}
